package com.chinasi.web.action.common;

public class SystemConstants {

	public enum BidType{
		
		zhongbiao(1),zhaobiao(2),feibiao(3);
		
		private int value;
		
		private BidType(int value) {
			this.value = value;
		}
		
		public String getName(){
			
			switch (this) {
			case zhongbiao:
				return "中标";
			case zhaobiao:
				return "招标";
			case feibiao:
				return "废标";
			}
			
			return "";
		}
		
		public static BidType getBidType(int value){
			for(BidType bidType :BidType.values()){
				if(bidType.value == value){
					return bidType;
				}
			}
			
			return null;
		}
		
		public int getValue(){
			return this.value;
		}
	}
	
	public enum DictCode{
		area,hangyefenlei,infoType,infoTag,projTyte
	}
}
